<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// 
//  sglobal.php
//  ColdXin_CI
//  
//  Created by Will_Lee on 2011-04-13.
//  Copyright 2011 lishuzu. All rights reserved.
// 

$config['SGLOBAL']	= array(
						'i' => 0,
						'block_search' => array(),
						'block_replace' => array(),
						'sub_tpls' => array(),
						'timestamp' => time(),
						'multipage_config' => array(
											'base_url' => 'index',
											'total_rows' => '20',
											'per_page' => '20',
											'uri_segment' => '3',
											'full_tag_open' => '',
											'full_tag_close' => '',
											'prev_link' => '&lt;&lt;',
											'next_link' => '&gt;&gt;',
											'cur_tag_open' => '<strong>',
											'cur_tag_close' => '</strong>',
											'anchor_class' => '',
						),
						'onlineip' => '',
						'upload_config' => array(
									'formname' => 'userfile',
									'upload_path' => FCPATH.'upload/attachments/',
									'allowed_types' => 'gif|jpg|png|jpeg',
									'file_name' => '',
									'overwrite' => true,
									'max_size' => '1000',
									'max_width' => '1024',
									'max_height' => '768',
									'max_filename' => 0,
									'encrypt_name' => '',
									'remove_spaces' => TRUE,
							),
);
//加载配置缓存文件
include_once(APPPATH.'cache/data_config.php');
//加载分类缓存文件
include_once(APPPATH.'cache/data_category.php');
//加载分类缓存文件
include_once(APPPATH.'cache/data_fromsource.php');
//加载品牌缓存文件
include_once(APPPATH.'cache/data_brand.php');
//加载访客缓存文件
include_once(APPPATH.'cache/data_guest.php');
?>